package com.icloud.common.web.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 多语言参数
 */
@Data
@ApiModel("多语言参数")
public class CommonLanguageDto {
    @NotBlank
    @ApiModelProperty(value = "语种信息 如 zh-cn ru en-us")
    private String lang;

    @NotNull
    @ApiModelProperty(value = "语种对应内容")
    private String value;
}
